@if($parent_id!==0)<ul>@endif
@foreach(Menu::select('id','name')->where('parent_id', $parent_id)->get() as $menu)
   <li><a href="{{{ URL::action('MobileFoodController@getIndex').'?menu_id='.$menu->id }}}">{{ $menu->name }}</a>
    @if($menu->hasChild())
        @include('mobile_end.layouts._menu_list', array('parent_id'=>$menu->id))
    @endif
   </li>
@endforeach
@if($parent_id!==0)</ul>@endif